package com.upic.service;

import com.upic.po.College;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CollegeService {
    College saveCollege(College college);

    String deleteCollege(long collegeId);

    Page<College> searchCollege(Pageable pageable);

    List<College> searchCollege();

    College findOne(long collegeId);

    College updateCollege(College college);

}
